package com.indexingsystem.boss.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * idx_innertext_content
 * @author 
 */
public class IdxInnertextContent implements Serializable {
    /**
     * 主键Id
     */
    private String id;

    /**
     * 任务id
     */
    private Integer taskId;

    /**
     * 主题词表id
     */
    private Integer themeTableId;

    /**
     * 内文id
     */
    private String innertextId;

    /**
     * 创建日期
     */
    private Date createTime;

    /**
     * 创建人
     */
    private String createBy;

    /**
     * 主题词id
     */
    private String content;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getTaskId() {
        return taskId;
    }

    public void setTaskId(Integer taskId) {
        this.taskId = taskId;
    }

    public Integer getThemeTableId() {
        return themeTableId;
    }

    public void setThemeTableId(Integer themeTableId) {
        this.themeTableId = themeTableId;
    }

    public String getInnertextId() {
        return innertextId;
    }

    public void setInnertextId(String innertextId) {
        this.innertextId = innertextId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        IdxInnertextContent other = (IdxInnertextContent) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getTaskId() == null ? other.getTaskId() == null : this.getTaskId().equals(other.getTaskId()))
            && (this.getThemeTableId() == null ? other.getThemeTableId() == null : this.getThemeTableId().equals(other.getThemeTableId()))
            && (this.getInnertextId() == null ? other.getInnertextId() == null : this.getInnertextId().equals(other.getInnertextId()))
            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
            && (this.getCreateBy() == null ? other.getCreateBy() == null : this.getCreateBy().equals(other.getCreateBy()))
            && (this.getContent() == null ? other.getContent() == null : this.getContent().equals(other.getContent()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getTaskId() == null) ? 0 : getTaskId().hashCode());
        result = prime * result + ((getThemeTableId() == null) ? 0 : getThemeTableId().hashCode());
        result = prime * result + ((getInnertextId() == null) ? 0 : getInnertextId().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
        result = prime * result + ((getCreateBy() == null) ? 0 : getCreateBy().hashCode());
        result = prime * result + ((getContent() == null) ? 0 : getContent().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", taskId=").append(taskId);
        sb.append(", themeTableId=").append(themeTableId);
        sb.append(", innertextId=").append(innertextId);
        sb.append(", createTime=").append(createTime);
        sb.append(", createBy=").append(createBy);
        sb.append(", content=").append(content);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}